<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath() + "/";
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理</title>
<style type="text/css">
.menu_list{width:268px;margin:0 auto;}
.menu_head{
	height: 47px;
	line-height: 47px;
	padding-left: 38px;
	font-size: 14px;
	color: #525252;
	cursor: pointer;
	border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	border-top: 1px solid #F1F1F1;
	position: relative;
	margin: 0px;
	font-weight: bold;
	background: #f1f1f1 url(<%=path%>sys/images/pro_left.png) center right no-repeat;
}
.menu_list .current{background:#f1f1f1 url(<%=path%>sys/images/pro_down.png) center right no-repeat;}
.menu_body{
	line-height: 38px;
	border-left: 1px solid #e1e1e1;
	backguound: #fff;
	border-right: 1px solid #e1e1e1;
}
.menu_body a{display:block;height:38px;line-height:38px;padding-left:38px;color:#777777;background:#fff;text-decoration:none;border-bottom:1px solid #e1e1e1;}
.menu_body a:hover{text-decoration:none;}
</style>
</head>
<body>

<div id="firstpane" class="menu_list">
	<h3 class="menu_head current">公司信息管理</h3>
	<div style="display:block" class="menu_body">
		<a href="<%=path%>sys/jsp/companyInfo.jsp" target="mainFrame">公司简介</a>
	</div>
	<h3 class="menu_head">产品管理</h3>
	<div style="display:none" class="menu_body">
		<a href="<%=path%>sys/jsp/productSeries.jsp" target="mainFrame">产品系列</a>
		<a href="<%=path%>sys/jsp/product.jsp" target="mainFrame">产品</a>
	</div>
	<h3 class="menu_head">留言管理</h3>
	<div style="display:none" class="menu_body">
		<a href="<%=path%>sys/jsp/leaveMessage.jsp" target="mainFrame">留言</a>
	</div>
	<h3 class="menu_head">系统管理</h3>
	<div style="display:none" class="menu_body">
		<a href="#">用户管理</a>
		<a href="#">角色管理</a>
	</div>
</div>
</body>
<script src="<%=path%>sys/js/jquery.js"></script>
<script>
$(document).ready(function(){
	$("#firstpane .menu_body:eq(0)").show();
	$("#firstpane h3.menu_head").click(function(){
		$(this).addClass("current").next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
		$(this).siblings().removeClass("current");
	});
	$("#secondpane .menu_body:eq(0)").show();
	$("#secondpane h3.menu_head").mouseover(function(){
		$(this).addClass("current").next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
		$(this).siblings().removeClass("current");
	});
});
</script>
</html>
